]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: Expose Source icon as GObject property
authorJulian Sparber <julian@sparber.net>
Wed, 24 Jan 2024 11:25:21 +0000 (12:25 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 30 Jan 2024 17:05:23 +0000 (17:05 +0000)
commit00a375ce9bed4fb124042be931f400be0b405f9a
tree47a3793c7e6d0102d2bf288b5c620c82adebbcc1
parent1b49cc643c599bc4a9e5c97b288a7792b1cb4854
messageTray: Expose Source icon as GObject property

As the notification redesign affects the API anyway, we can just
as well use the opportunity to modernize the code.

Turning the icon into a GObject property means we no longer need
a custom signal for change notifications, and the icon becomes
usable in bindings.

Since setting an `GThemedIcon` is common this also adds a convenience
property to set the icon name directly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>
data/theme/gnome-shell-sass/widgets/_login-lock.scss
js/ui/calendar.js
js/ui/components/autorunManager.js
js/ui/components/telepathyClient.js
js/ui/extensionSystem.js
js/ui/messageTray.js
js/ui/notificationDaemon.js
js/ui/unlockDialog.js
js/ui/windowAttentionHandler.js